/**
 * Created by 李柏霖
 * 2020/10/18 20:33
 */

package com.lbl.dao;

import com.lbl.domain.Department;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface IDepartmentDao {
    List<Department> findAll();

    Department findById(Integer did);

    void save(Department department);

    void deleteById(Integer did);

    void update(Department department);
}
